package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallCollect;
import com.ctsi.ssdc.domain.LitemallCollectExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallCollectRepository extends BaseRepository<LitemallCollect, Integer, LitemallCollectExample> {
    @Override
    long countByExample(LitemallCollectExample example);

    @Override
    int deleteByExample(LitemallCollectExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallCollect record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallCollect record);

    @Override
    List<LitemallCollect> selectByExample(LitemallCollectExample example);

    @Override
    LitemallCollect selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallCollect record, @Param("example") LitemallCollectExample example);

    @Override
    int updateByExample(@Param("record") LitemallCollect record, @Param("example") LitemallCollectExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallCollect record);

    @Override
    int updateByPrimaryKey(LitemallCollect record);

    LitemallCollect selectOneByExample(LitemallCollectExample example);

    void logicalDeleteByPrimaryKey(Integer id);
}